package com.pro.service;

import com.pro.pojo.JsUserFeedback;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsFeedbackService
 * Package:com.pro.service
 * Description:
 *
 * @Date:2021/11/12 19:18
 * @Author: XJR
 */
@Service
public interface JsFeedbackService {
    //查询反馈数据
    public List<JsUserFeedback> selectUserFeedBack(String feedbackType,String feedbackStatus,Integer limit,Integer page);
    public Integer countUserFeedBack(String feedbackType,String feedbackStatus);

    //通过id查看审核详情
    public JsUserFeedback selectUserFeedBackById(Integer feedbackId);

    //删除反馈数据
    public Boolean delUserFeedBack(Integer feedbackId);

    //审核
    public Boolean updateUserFeedStatus(JsUserFeedback jsUserFeedback);

    //查询已受理反馈数据
    public List<JsUserFeedback> selectAdoptUserFeedBack(String feedbackType);
    public Integer countAdoptUserFeedBack(String feedbackType);
}
